#include "calcexception.h"

using namespace std;

/** CalcException is of no surprise.
 * position and possibly input could be added as salt and pepper.
 */
CalcException::CalcException(string s) {
  cause = s;
}

/** No surprise here. */
CalcException::~CalcException() throw() {
}

/** No surprise here. */
const char *CalcException::what() const throw() {
  return cause.c_str();
}
